package  com.tianya.common.search;

import java.util.List;

public class Result {
	 private Page page; //分页信息 
	 @SuppressWarnings("unchecked")
	 private List content; //每页显示的集合 
	 /** 
	 * The default constructor 
	 */ 
	 public Result() { 
	 super(); 
	 } 

	 /** 
	 * The constructor using fields 
	 * 
	 * @param page 
	 * @param content 
	 */ 
	 @SuppressWarnings("unchecked")
	 public Result(Page page, List content) { 
	 this.page = page; 
	 this.content = content; 
	 } 

	 /** 
	 * @return Returns the content. 
	 */ 
	 @SuppressWarnings("unchecked")
	 public List getContent() { 
	 return content; 
	 } 

	 /** 
	 * @return Returns the page. 
	 */ 
	 public Page getPage() { 
	 return page; 
	 } 

	 /** 
	 * @param content 
	 * The content to set. 
	 */ 
	 @SuppressWarnings("unchecked")
	 public void setContent(List content) { 
	 this.content = content; 
	 } 

	 /** 
	 * @param page 
	 * The page to set. 
	 */ 
	 public void setPage(Page page) { 
	 this.page = page; 
	 } 
}
